//
//  WaiMaiDianCanAndYuYueView.m
//  FD
//
//  Created by Yasin on 2018/10/12.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
// 12-8弃用 请使用  WaiSongYuYueView

#import "WaiMaiDianCanAndYuYueView.h"
@interface WaiMaiDianCanAndYuYueView()
@property (weak, nonatomic) IBOutlet UILabel *waiSongDianCanLb;/**1.外送点餐*/
@property (weak, nonatomic) IBOutlet UILabel *mengDianYuYueLb;/**2.门店预约*/
@property (weak, nonatomic) IBOutlet UILabel *sendTimeLb; /**30分钟送达*/
@property (weak, nonatomic) IBOutlet UILabel *buPaiDuiLb; /**预约区号不排队*/
@end

@implementation WaiMaiDianCanAndYuYueView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    
    NSString *waiSongStr = NSLocalizedString(Home_WaiSongDianCan, @"外送点餐");
    NSString *yuyeuStr   = NSLocalizedString(Home_YuYueDianCan, @"门店预约");
    self.waiSongDianCanLb.text = waiSongStr;
    self.mengDianYuYueLb.text  = yuyeuStr;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (IBAction)clickLocationAction:(UIButton *)sender {
    if (self.clickDinWeiBlock) {
        self.clickDinWeiBlock();
    }
}


- (IBAction)clickYuDinAction:(UIButton *)sender {
    if (self.clickYuYueBlock) {
        self.clickYuYueBlock();
    }
}

@end
